const tokenSecret = 'daidaigou';

const sqlWhereMap = [
  // 六个基本的比较
  { name: 'equal', symbol: '=', type: '1' },
  { name: 'notEqual', symbol: '!=', type: '1' },
  { name: 'lessThan', symbol: '<', type: '1' },
  { name: 'lessThanEqual', symbol: '<=', type: '1' },
  { name: 'moreThan', symbol: '>', type: '1' },
  { name: 'moreThanEqual', symbol: '>=', type: '1' },
  // like
  { name: 'contains', symbol: 'like', type: '2' },
  { name: 'notContains', symbol: 'not like', type: '2' },
  // 隶属 非隶属
  { name: 'in', symbol: 'in', type: '3' },
  { name: 'notIn', symbol: 'not in', type: '3' },
  // null
  { name: 'isNull', symbol: 'is null', type: '4' },
  { name: 'isNotNull', symbol: 'is not null', type: '4' },
  // 以 什么 开始；以什么结尾
  { name: 'startWith', symbol: 'like', type: '5' },
  { name: 'endWith', symbol: 'like', type: '6' },
  // 在 什么 到什么 之间
  { name: 'between', symbol: 'between', type: '7' },
  // 不在什么到什么之间
  { name: 'notBetween', symbol: 'not between', type: '7' },
];

export default {
  tokenSecret,
  sqlWhereMap,
};
